package com.lwl.service;


import com.github.pagehelper.PageInfo;
import com.lwl.entity.MyPage;
import com.lwl.entity.Tuser;

import java.util.List;


/**
 * @author Lei
 * @create 2022-10-19 12:32
 */
public interface ITuserService {
    Boolean registerUser(Tuser tuser);

    PageInfo queryAll(MyPage myPage,Tuser tuser);

    boolean updUser(Tuser tuser);

    boolean queryByName(String username);

    Tuser queryByUserName(String username);

    boolean updatePass(Tuser tuser, String newpassword);
}
